package org.example.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.dao.entity.Users;

import java.math.BigInteger;
import java.util.List;


@Mapper
public interface UserMapper extends BaseMapper<Users> {
    String selectRoleCodeByUserId(@Param("userId") BigInteger userId);

    List<BigInteger> selectUserIdsByRoleCode(String roleCode);


}
